"""
Qwen3 Client Package - Standalone library for Qwen3 model integration
"""

from .core import Qwen3Client, Qwen3Config
from .ds_core import DeepSeekClient, DeepSeekConfig
from .paper_analyzer import PaperStructureAnalyzer
from .utils import setup_logging, validate_api_key
from .mcp_server import QwenMCPServer
from .oss_core import OSSClient, OSSConfig

__version__ = "1.0.1"
__author__ = "GSI/EnKF Development Team"

__all__ = [
    'Qwen3Client',
    'Qwen3Config', 
    'DeepSeekClient',
    'DeepSeekConfig',
    'OSSClient',
    'OSSConfig',
    'PaperStructureAnalyzer',
    'QwenMCPServer',
    'setup_logging',
    'validate_api_key'
]

# Convenience functions for quick setup
def quick_setup(logger_level: str = "INFO"):
    """
    Quick setup with auto-configuration from .env
    
    Returns:
        Tuple of (client, logger)
    """
    logger = setup_logging(logger_level)
    client = Qwen3Client.auto_create(logger)
    return client, logger

def quick_setup_deepseek(logger_level: str = "INFO"):
    """
    Quick setup for DeepSeek with auto-configuration from .env
    
    Returns:
        Tuple of (client, logger)
    """
    logger = setup_logging(logger_level)
    client = DeepSeekClient.auto_create(logger)
    return client, logger

def quick_setup_oss(logger_level: str = "INFO"):
    """
    Quick setup for OSS (GPT-OSS) with auto-configuration from .env
    
    Returns:
        Tuple of (client, logger)
    """
    logger = setup_logging(logger_level)
    client = OSSClient.auto_create(logger)
    return client, logger
